package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 职务变动
 * </p>
 *
 * @author l1
 * @since 2017-10-24
 */
@TableName("u_position_changes")
public class UPositionChanges extends Model<UPositionChanges> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 教师编号
     */
	@TableField("teacher_id")
	private String teacherId;
    /**
     * 起始时间
     */
	@TableField("start_time")
	private String startTime;
    /**
     * 截止时间
     */
	@TableField("end_time")
	private String endTime;
    /**
     * 任职部门
     */
	@TableField("dept_name")
	private String deptName;
    /**
     * 职务
     */
	private String position;
    /**
     * 职务级别
     */
	@TableField("position_level")
	private String positionLevel;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getPositionLevel() {
		return positionLevel;
	}

	public void setPositionLevel(String positionLevel) {
		this.positionLevel = positionLevel;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UPositionChanges{" +
			"id=" + id +
			", teacherId=" + teacherId +
			", startTime=" + startTime +
			", endTime=" + endTime +
			", deptName=" + deptName +
			", position=" + position +
			", positionLevel=" + positionLevel +
			"}";
	}
}
